package queue


type Queue []int 


import (
    "fmt"
)


func (q *Queue) Pop() int{
    head := (*q)[0]
    *q = (*q)[1:]
    return head
}


func (q *Queue) IsEmpty() bool {
    return len(*q) == 0
}

